package com.service;

import java.util.List;

import com.model.Paper;
import com.util.Pagination;
import com.util.QueryTerm;

public interface PaperService {

    public List<Paper> getPaperList(Paper paper, Pagination page);

    // 用于index显示卷子列表
    public Pagination PaperList();

    // 用于分页显示
    public Pagination queryForPage(QueryTerm query);

    // 根据ID返回一张卷子
    public Paper findById(java.lang.Integer id);

    public List findAll();

    public int SumPaper();

    public boolean checkpw(String password, int pid);

    public List showPaperScore(int i);

    public void paperDel(int id);

    public void PaperEditInfo(Paper paper);

    public List ClazzList();

}
